package com.hxgz.steel.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

@ApiModel(value = "企业认证返回实体")
public class CompanyCertDto {

  @ApiModelProperty("主键")
  private Long id;
  @ApiModelProperty("账号")
  private String userName;
  @ApiModelProperty("公司名称")
  private String companyName;
  @ApiModelProperty("状态")
  private Integer status;
  @ApiModelProperty("认证时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date authenticationTime;

  public CompanyCertDto(Long id, String userName, String companyName, Integer status,
      Date authenticationTime) {
    this.id = id;
    this.userName = userName;
    this.companyName = companyName;
    this.status = status;
    this.authenticationTime = authenticationTime;
  }

  public CompanyCertDto() {
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getCompanyName() {
    return companyName;
  }

  public void setCompanyName(String companyName) {
    this.companyName = companyName;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public Date getAuthenticationTime() {
    return authenticationTime;
  }

  public void setAuthenticationTime(Date authenticationTime) {
    this.authenticationTime = authenticationTime;
  }
}
